/* 全局样式 */
body {
    background-color: #f8f9fa;
    padding-top: 20px;
    padding-bottom: 40px;
}
.container-main {
    max-width: 1200px;
    margin: 0 auto;
}
.card-shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    border: none;
    margin-top: 20px;
}
.section-header {
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 12px;
    margin-bottom: 20px;
    position: relative;
}
.section-header:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: #0dcaf0;
}

/* 操作按钮样式 */
.btn-action {
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 表单元素样式 */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}
.form-control, .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    transition: all 0.3s;
}
.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}
.required-star {
    color: #dc3545;
    margin-left: 3px;
}

/* 状态徽章 */
.status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

/* 操作按钮组 */
.form-footer {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    margin-top: 25px;
    display: flex;
    gap: 15px;
    border-top: 1px solid #e9ecef;
}

/* 图标装饰 */
.form-icon {
    width: 40px;
    height: 40px;
    background: #e6f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.form-icon i {
    color: #0d6efd;
    font-size: 1.2rem;
}

/* 卡片标题 */
.card-title {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

/* 表单分组样式 */
.form-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #0d6efd;
}
.form-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #0d6efd;
}
.form-section-title i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 位置指示器 */
.position-indicator {
    height: 100px;
    background: linear-gradient(to bottom, #e9ecef, #dee2e6);
    border-radius: 8px;
    position: relative;
    margin: 15px 0;
    border: 1px solid #ced4da;
    overflow: hidden;
}
.position-marker {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #dc3545;
    z-index: 10;
}
.position-label {
    position: absolute;
    left: 10px;
    font-size: 0.8rem;
    color: #495057;
    background: rgba(255,255,255,0.8);
    padding: 2px 8px;
    border-radius: 4px;
}

/* 样式预览 */
.style-preview {
    background: #343a40;
    color: white;
    padding: 20px;
    border-radius: 8px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 15px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

/* 多媒体卡片 */
.media-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}
.media-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.media-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.media-icon.image {
    background: #e6f7ff;
    color: #1890ff;
}
.media-icon.video {
    background: #f9f0ff;
    color: #722ed1;
}
.media-icon.audio {
    background: #f6ffed;
    color: #52c41a;
}